<?php 
include 'conf/configuracion_idioma.php';
include 'conf/common_index.php';
include 'template_include_index.php';
?>
<?php $title = gettext("Usuario Premium")?>
<?php $descripcion = gettext("Usuario Premium")?>
<?php $keywords = gettext("Usuario Premium")?>

<?php include 'template_header_index.php';?>
<?php include 'template_nav_bar_index.php';?>

<div class="container">
    <div class="row">
        <div class="col-md-12">
        
        
        <?php if(logged_in() && is_premium()){?>
                    
                <section class="text-center margin-top">
                    <h1><?php echo gettext("¡Felicitaciones!")?></h1>
                    <h1><?php echo gettext("Ahora eres un usuario premium")?></h1>                
                </section>
                <section class="text-center margin-top">
                	
                	<h2><a href="<?php echo getPerfilUsuarioPath($_SESSION['usuario_id'])?>"> <?php echo gettext("Visita tu nuevo perfil:")?> <?php echo $_SESSION['username']?></a></h2>	
                		
                </section>
                
                <br>
                <br>
                <br>
                
           <?php } else {
           
           	$url = dominioPrincipalURL();
           	exit('<meta http-equiv="refresh" content="0; url=' . urldecode($url) . '"/>');
           	
           }?>
           
        </div>
    </div> <!-- row -->
</div> <!-- container -->

<?php include 'template_footer_index.php';?>

<?php include 'template_sidebar_index.php';?>

<!-- Scripts -->
<!-- Compiled in vendors.js -->
<!--
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.cookie.js"></script>
<script src="assets/js/imagesloaded.pkgd.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/bootstrap-switch.min.js"></script>
<script src="assets/js/wow.min.js"></script>
<script src="assets/js/slidebars.min.js"></script>
<script src="assets/js/jquery.bxslider.min.js"></script>
<script src="assets/js/holder.js"></script>
<script src="assets/js/buttons.js"></script>
<script src="assets/js/jquery.mixitup.min.js"></script>
<script src="assets/js/circles.min.js"></script>
<script src="assets/js/masonry.pkgd.min.js"></script>
<script src="assets/js/jquery.matchHeight-min.js"></script>
-->

<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/vendors.js"></script>
<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/funcionesjs.js"></script>

<!-- Syntaxhighlighter -->
<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/syntaxhighlighter/shCore.js"></script>
<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/syntaxhighlighter/shBrushXml.js"></script>
<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/syntaxhighlighter/shBrushJScript.js"></script>

<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/app.js"></script>
<script src="http://<?php echo DOMINIO_BASE_COMPLETO?>/js/index.js"></script>

</body>

</html>